package request

import "time"

type SendSms struct {
	Phone string `json:"phone" form:"phone" binding:"required"`
}
type Login struct {
	Phone         string    `json:"phone" form:"phone" binding:"required"`
	SendCode      string    `json:"send_code" form:"send_code" binding:"required"`
	Nickname      string    `json:"nickname" form:"nickname"`
	AvatarUrl     string    `form:"avatar_url"`      // 头像Url
	Region        string    `form:"region"`          // 地区
	Introduction  string    `form:"introduction"`    // 简介
	RegisterTime  time.Time `form:"register_time"`   // 注册时间
	LastLoginTime time.Time `form:"last_login_time"` // 登录时间
}
type UserDetails struct {
	Id int64 `json:"id" form:"id" binding:"required"`
}
